home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 January / macformat-033.iso / mac / Shareware City / Developers / ABox.v1.8 / Header Files / ABProperties.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-23  |  2.5 KB  |  101 lines  |  [TEXT/MMCC]

  1. /*    
  2.     Copyright © 1991-1995 by TopSoft Inc.  All rights reserved.
  3.  
  4.     You may distribute this file under the terms of the TopSoft
  5.     Artistic License, accompanying this package.
  6.     
  7.     This file was developed by George (ty) Tempel in connection with TopSoft, Inc..
  8.     See the Modification History for more details.
  9.  
  10. Product
  11.     About Box
  12.  
  13. FILE
  14.     ABProperties.h
  15.  
  16. NAME
  17.     ABProperties.h, part of the ABox project source code,
  18.     a utility class, mixed into other classes, responsible for 
  19.     handling the AboutBox property stuff.
  20.  
  21. DESCRIPTION
  22.     This file contains defines for the about box modules.
  23.     
  24. DEVELOPED BY
  25.     George (ty) Tempel                netromancr@aol.com
  26.     All code in this file, and its associated header file was
  27.     Created by George (ty) Tempel in connection with the TopSoft, Inc.
  28.     "FilterTop" application development, except where noted.
  29.  
  30. CARETAKER - George (ty) Tempel <netromancr@aol.com>
  31.      Please consult this person for any changes or suggestions to this file.
  32.  
  33. MODIFICATION HISTORY
  34.  
  35.     dd mmm yy    -    xxx    -    patchxx: description of patch
  36.     9 June 94    -    ty    -    Initial Version Created
  37.     20-july-94    -    ty    -    initial version released
  38.     23-may-95    -    ty    -    changes for compatibility with the CodeWarrior CW6
  39.                             release and the associated Universal Headers from Apple:
  40.                             most methods that returned references now have "Ref" at
  41.                             the end of their methods names to prevent possible collisions
  42.                             with datatypes and classes of the same name (older versions
  43.                             of the compiler didn't have a problem with this).
  44.  
  45. */
  46.  
  47. /*===========================================================================*/
  48.  
  49. /*========== Exclusion Macros ============*/
  50.  
  51. #pragma    once
  52.  
  53. #ifndef    _ABProperties_
  54. #define    _ABProperties_
  55.  
  56.  
  57. /*============ Header Files ==============*/
  58.  
  59. /*=========== External Linkage ===========*/
  60.  
  61. /*================ Macros ================*/
  62.  
  63. /*============== Constants ===============*/
  64.  
  65. #define    kABPropertyUnknown        -1
  66. #define    kABPropertyBadStorage    -2
  67. #define    kABPropertyNullStorage    -3
  68. #define    kABPropertyReadOnly        -4
  69.  
  70. /*================ Enums =================*/
  71.  
  72. /*=============== Structs ================*/
  73.  
  74. /*=============== Typedefs ===============*/
  75.  
  76. typedef    OSType    ABProperty;
  77.  
  78. /*=========== Class Definitions ==========*/
  79.  
  80. class    ABProperties
  81. {
  82.     friend class ABProperties;
  83.     
  84.     public:
  85.                         ABProperties(void);
  86.         virtual            ~ABProperties(void);
  87.     
  88.         virtual    OSErr    GetProperty (ABProperty prop, void *ptr, long *ptrSize);
  89.         virtual    OSErr    SetProperty (ABProperty prop, void *ptr, long ptrSize);
  90.         
  91.     protected:
  92.     private:
  93. };
  94.  
  95.  
  96. /*========== Function Prototypes =========*/
  97.  
  98.  
  99. #endif    // _ABProperties_
  100.  
  101.